how to find a number is prime or not shortcut